package com.example.light.web.personal.dao;

import com.example.light.web.personal.entity.Schedual;
import com.example.light.web.personal.vo.ScheduleVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SchedualMapper {
    int deleteByPrimaryKey(Integer schedualId);

    int insert(Schedual record);

    int insertSelective(Schedual record);

    Schedual selectByPrimaryKey(Integer schedualId);

    int updateByPrimaryKeySelective(Schedual record);

    int updateByPrimaryKey(Schedual record);

    List<Schedual> selectSchedules();

    List<Schedual> selectUserSchedules(Integer userId);

    void finish(Integer id);

    List<Schedual> showSchedules(@Param("userId") Integer userId);
}